package cn.b.sky.shop.storage;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collections;
import java.util.Date;
import java.util.Map;

/**
 * @Author: lidapeng
 * @Description: 桶
 * @Date Created in 8/21/23 9:40 AM
 * @Modified By: lidapeng
 * Copyright(c) dbappsecurity.com.cn
 */
@Data
@NoArgsConstructor
public class Bucket {

    private String name;
    private Date createTime;
    private String region;
    private String storageClass;
    private Map<String, Object> attachments = Collections.emptyMap();
    private String clientType;
    private Object originalBucket;
    private String endpoint;


    public Bucket(String name, String region, Date createTime) {
        this.name = name;
        this.createTime = createTime;
        this.region = region;
    }

}
